

<!--[form:approval]-->   
<%= hidden_field "approval", "complete", {:value => true}%>
<h6>Approval Form</h6>   
<div class="form_instructions">
At this time, as the approver you can make one of four choices To approve this grant application, fill in Yes to the question below and click submit. These steps will automatically forward the application to the Education Foundation for judging. Until you have approved and submitted, this grant application is not formally submitted on behalf of your applicant.<br/><br/>
The default setting for this approval is No, which means you reject this application. If you reject this application, then just submit, and it automatically returns to the applicant.<br/><br/>
If you do not want to decline, but want to come back to it later, then click Cancel.<br/><br/>
If you would like the applicant to edit prior to your approval you should fill in "No" to the question below and add notes in the space provided below, click Submit, and this will automatically return the application to the grant applicant for changes you may have noted in your comment section. Please note that the application must then be corrected by the applicant and resubmitted to the principal for approval and forwarding to the Education Foundation by noon, October 2 as approved for judging.    
</div>

<div class="form_question">
<div class="form_element_label">Approve?</div> 
<div class="form_element">
<%= radio_button "approval", "approved", true %><label for="approval_approved_true">Yes</label>
<%= radio_button "approval", "approved", false %><label for="approval_approved_false">No</label>
</div>                 
</div>

<div class="form_question">
<div class="form_element_label">Approval Notes:</div> 
<div class="form_element"><%= text_area 'approval', 'notes', :cols => "90%", :rows => 10  %></div>                 
</div>   
<!--
<div class="form_question">
<div class="form_element_label">More Approval?  If the application is for more than one campus, the application needs to be approved by site superintendents.  Please choose the relevant approvers</div> 
<div class="form_element">
	
<%= select("more_approval", "manager_id_1", 
           Manager.find_by_sql("SELECT users.* 
                                  FROM users 
                                  JOIN roles_users on (roles_users.user_id = users.id) 
                                  JOIN roles on (roles_users.role_id = roles.id) 
                                 WHERE roles.name = 'manager'").collect {|s| [ "#{s.display_name}", s.id ] }, {:include_blank => true}) %>
<%= select("more_approval", "manager_id_2", 
					 Manager.find_by_sql("SELECT users.* 
																  FROM users 
                                  JOIN roles_users on (roles_users.user_id = users.id) 
                                  JOIN roles on (roles_users.role_id = roles.id) 
                                 WHERE roles.name = 'manager'").collect {|s| [ "#{s.display_name}", s.id ] }, {:include_blank => true}) %>
<%= select("more_approval", "manager_id_3", 
           Manager.find_by_sql("SELECT users.* 
                                  FROM users 
                                  JOIN roles_users on (roles_users.user_id = users.id) 
                                  JOIN roles on (roles_users.role_id = roles.id) 
                                 WHERE roles.name = 'manager'").collect {|s| [ "#{s.display_name}", s.id ] }, {:include_blank => true}) %>

</div>                 
</div> 
-->
<!--[eoform:approval]-->

